[INFO] cloning repository https://github.com/manuelinfosec/bitcoin-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manuelinfosec/bitcoin-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanuelinfosec%2Fbitcoin-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanuelinfosec%2Fbitcoin-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 12a9e4a59b9af54598ec4daa364d69a07f2ecd6a
[INFO] testing manuelinfosec/bitcoin-rs against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanuelinfosec%2Fbitcoin-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/manuelinfosec/bitcoin-rs
[INFO] finished tweaking git repo https://github.com/manuelinfosec/bitcoin-rs
[INFO] tweaked toml for git repo https://github.com/manuelinfosec/bitcoin-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/manuelinfosec/bitcoin-rs on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/manuelinfosec/bitcoin-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tracing v0.1.39
[INFO] [stderr]   Downloaded serde_derive v1.0.189
[INFO] [stderr]   Downloaded tokio-util v0.7.9
[INFO] [stderr]   Downloaded jsonrpsee-types v0.20.2
[INFO] [stderr]   Downloaded beef v0.5.2
[INFO] [stderr]   Downloaded jsonrpsee v0.20.2
[INFO] [stderr]   Downloaded socket2 v0.5.4
[INFO] [stderr]   Downloaded jsonrpc v0.16.0
[INFO] [stderr]   Downloaded thiserror v1.0.49
[INFO] [stderr]   Downloaded soketto v0.7.1
[INFO] [stderr]   Downloaded async-trait v0.1.74
[INFO] [stderr]   Downloaded jsonrpsee-core v0.20.2
[INFO] [stderr]   Downloaded jsonrpsee-server v0.20.2
[INFO] [stderr]   Downloaded libc v0.2.149
[INFO] [stderr]   Downloaded h2 v0.3.21
[INFO] [stderr]   Downloaded thiserror-impl v1.0.49
[INFO] [stderr]   Downloaded serde v1.0.189
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e5d6c99d5cdc29fbf62f379eb39d36d5cd7cb1d3991387d4624be6e41cf63ede
[INFO] running `Command { std: "docker" "start" "-a" "e5d6c99d5cdc29fbf62f379eb39d36d5cd7cb1d3991387d4624be6e41cf63ede", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e5d6c99d5cdc29fbf62f379eb39d36d5cd7cb1d3991387d4624be6e41cf63ede", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5d6c99d5cdc29fbf62f379eb39d36d5cd7cb1d3991387d4624be6e41cf63ede", kill_on_drop: false }`
[INFO] [stdout] e5d6c99d5cdc29fbf62f379eb39d36d5cd7cb1d3991387d4624be6e41cf63ede
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 19f239d0fd4a224a890d590847c4d27c5cd407d0ab51fc3151af7f5d6297e0ad
[INFO] running `Command { std: "docker" "start" "-a" "19f239d0fd4a224a890d590847c4d27c5cd407d0ab51fc3151af7f5d6297e0ad", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling serde v1.0.189
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling thiserror v1.0.49
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling async-trait v0.1.74
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling route-recognizer v0.3.1
[INFO] [stderr]    Compiling jsonrpsee v0.20.2
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling socket2 v0.5.4
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.189
[INFO] [stderr]    Compiling thiserror-impl v1.0.49
[INFO] [stderr]    Compiling tokio v1.33.0
[INFO] [stderr]    Compiling tracing v0.1.39
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling soketto v0.7.1
[INFO] [stderr]    Compiling tokio-util v0.7.9
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling h2 v0.3.21
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling jsonrpsee-types v0.20.2
[INFO] [stderr]    Compiling jsonrpc v0.16.0
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling jsonrpsee-core v0.20.2
[INFO] [stderr]    Compiling jsonrpsee-server v0.20.2
[INFO] [stderr]    Compiling bitcoin-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/p2p.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let addr: IpAddr = address_split[0].parse().unwrap();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]    --> src/p2p.rs:206:13
[INFO] [stdout]     |
[INFO] [stdout] 206 |         let port: u16 = address_split[1].parse::<u16>().unwrap();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Account` is never constructed
[INFO] [stdout]  --> src/modules/account.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Account {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/modules/blockchain.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Block {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn default() -> Block {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `HasHashField` is never used
[INFO] [stdout]  --> src/modules/generics.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait HasHashField {
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/modules/transactions.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Transaction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 26 |     pub fn default() -> Transaction {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ACCOUNTDB` is never used
[INFO] [stdout]   --> src/database.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const ACCOUNTDB: &str = "accounts.json";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hash_insert` is never used
[INFO] [stdout]    --> src/database.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout]  22 | pub trait BaseDB {
[INFO] [stdout]     |           ------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn hash_insert<T>(&self, item: T) -> io::Result<()>
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccountDB` is never constructed
[INFO] [stdout]    --> src/database.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct AccountDB {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find` and `insert` are never used
[INFO] [stdout]    --> src/database.rs:180:8
[INFO] [stdout]     |
[INFO] [stdout] 170 | impl BlockchainDB {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 180 |     fn find(&self, hash: String) -> Block {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn insert(&self, item: Block) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `find_one` are never used
[INFO] [stdout]    --> src/database.rs:206:12
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl AccountDB {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 205 |     // create an instance of the Account database
[INFO] [stdout] 206 |     pub fn new() -> AccountDB {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     fn find_one(&self) -> Option<Account> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find` and `insert` are never used
[INFO] [stdout]    --> src/database.rs:234:8
[INFO] [stdout]     |
[INFO] [stdout] 224 | impl TransactionDB {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 234 |     fn find(&self, hash: String) -> Transaction {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn insert(&self, txn: Transaction) -> io::Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `all_hashes` is never used
[INFO] [stdout]    --> src/database.rs:278:8
[INFO] [stdout]     |
[INFO] [stdout] 268 | impl UnTransactionDB {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 278 |     fn all_hashes(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `node` is never read
[INFO] [stdout]   --> src/p2p.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct RPCClient {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 27 |     // server address
[INFO] [stdout] 28 |     node: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BroadCast` is never constructed
[INFO] [stdout]   --> src/p2p.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct BroadCast {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/p2p.rs:36:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl BroadCast {
[INFO] [stdout]     | -------------- associated functions in this implementation
[INFO] [stdout]  36 |     pub fn ping(args: Vec<String>) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |     fn get_blockchain(args: Vec<String>) -> Result<Vec<Vec<Block>>, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     fn new_block(block: Block) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     fn add_node(address: String) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn get_transactions(args: Vec<String>) -> Result<Vec<Vec<Transaction>>, Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     fn new_untransaction<T: Copy + Serialize + DeserializeOwned>(args: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn block_transaction<T: Copy + Serialize + DeserializeOwned>(txn: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `new_untransaction` and `block_transaction` are never used
[INFO] [stdout]    --> src/p2p.rs:180:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | impl RPCServer {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 180 |     fn new_untransaction<T: Serialize + DeserializeOwned>(&self, untxns: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     fn block_transaction<T: Serialize + DeserializeOwned>(&self, txns: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `ping`, `get_blockchain`, `new_block`, `add_node`, `new_untransaction`, and `block_transaction` are never used
[INFO] [stdout]    --> src/p2p.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 194 | impl RPCClient {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn ping(&self, args: Vec<String>) -> Result<bool, Error> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     fn get_blockchain(&self, args: Vec<String>) -> Result<Vec<Block>, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 |     fn new_block(&self, block: Block) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     pub fn add_node(&self, address: String) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     fn new_untransaction<T: Serialize + DeserializeOwned>(&self, args: T) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 299 |     fn block_transaction<T: Serialize + DeserializeOwned>(&self, txn: T) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_clients` is never used
[INFO] [stdout]    --> src/p2p.rs:313:4
[INFO] [stdout]     |
[INFO] [stdout] 313 | fn get_clients() -> Vec<RPCClient> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.44s
[INFO] running `Command { std: "docker" "inspect" "19f239d0fd4a224a890d590847c4d27c5cd407d0ab51fc3151af7f5d6297e0ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19f239d0fd4a224a890d590847c4d27c5cd407d0ab51fc3151af7f5d6297e0ad", kill_on_drop: false }`
[INFO] [stdout] 19f239d0fd4a224a890d590847c4d27c5cd407d0ab51fc3151af7f5d6297e0ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 83731a9161c28577e63765b6eaa5ca8d7d5a6969598abca0fe9e6f0392dd3ff1
[INFO] running `Command { std: "docker" "start" "-a" "83731a9161c28577e63765b6eaa5ca8d7d5a6969598abca0fe9e6f0392dd3ff1", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitcoin-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/p2p.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let addr: IpAddr = address_split[0].parse().unwrap();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]    --> src/p2p.rs:206:13
[INFO] [stdout]     |
[INFO] [stdout] 206 |         let port: u16 = address_split[1].parse::<u16>().unwrap();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Account` is never constructed
[INFO] [stdout]  --> src/modules/account.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Account {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/modules/blockchain.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Block {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn default() -> Block {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `HasHashField` is never used
[INFO] [stdout]  --> src/modules/generics.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait HasHashField {
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/modules/transactions.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Transaction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 26 |     pub fn default() -> Transaction {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ACCOUNTDB` is never used
[INFO] [stdout]   --> src/database.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const ACCOUNTDB: &str = "accounts.json";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hash_insert` is never used
[INFO] [stdout]    --> src/database.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout]  22 | pub trait BaseDB {
[INFO] [stdout]     |           ------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn hash_insert<T>(&self, item: T) -> io::Result<()>
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccountDB` is never constructed
[INFO] [stdout]    --> src/database.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct AccountDB {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find` and `insert` are never used
[INFO] [stdout]    --> src/database.rs:180:8
[INFO] [stdout]     |
[INFO] [stdout] 170 | impl BlockchainDB {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 180 |     fn find(&self, hash: String) -> Block {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn insert(&self, item: Block) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `find_one` are never used
[INFO] [stdout]    --> src/database.rs:206:12
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl AccountDB {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 205 |     // create an instance of the Account database
[INFO] [stdout] 206 |     pub fn new() -> AccountDB {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     fn find_one(&self) -> Option<Account> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find` and `insert` are never used
[INFO] [stdout]    --> src/database.rs:234:8
[INFO] [stdout]     |
[INFO] [stdout] 224 | impl TransactionDB {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 234 |     fn find(&self, hash: String) -> Transaction {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn insert(&self, txn: Transaction) -> io::Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `all_hashes` is never used
[INFO] [stdout]    --> src/database.rs:278:8
[INFO] [stdout]     |
[INFO] [stdout] 268 | impl UnTransactionDB {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 278 |     fn all_hashes(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `node` is never read
[INFO] [stdout]   --> src/p2p.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct RPCClient {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 27 |     // server address
[INFO] [stdout] 28 |     node: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BroadCast` is never constructed
[INFO] [stdout]   --> src/p2p.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct BroadCast {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/p2p.rs:36:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl BroadCast {
[INFO] [stdout]     | -------------- associated functions in this implementation
[INFO] [stdout]  36 |     pub fn ping(args: Vec<String>) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |     fn get_blockchain(args: Vec<String>) -> Result<Vec<Vec<Block>>, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     fn new_block(block: Block) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     fn add_node(address: String) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn get_transactions(args: Vec<String>) -> Result<Vec<Vec<Transaction>>, Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     fn new_untransaction<T: Copy + Serialize + DeserializeOwned>(args: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn block_transaction<T: Copy + Serialize + DeserializeOwned>(txn: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `new_untransaction` and `block_transaction` are never used
[INFO] [stdout]    --> src/p2p.rs:180:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | impl RPCServer {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 180 |     fn new_untransaction<T: Serialize + DeserializeOwned>(&self, untxns: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     fn block_transaction<T: Serialize + DeserializeOwned>(&self, txns: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `ping`, `get_blockchain`, `new_block`, `add_node`, `new_untransaction`, and `block_transaction` are never used
[INFO] [stdout]    --> src/p2p.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 194 | impl RPCClient {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn ping(&self, args: Vec<String>) -> Result<bool, Error> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     fn get_blockchain(&self, args: Vec<String>) -> Result<Vec<Block>, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 |     fn new_block(&self, block: Block) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     pub fn add_node(&self, address: String) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     fn new_untransaction<T: Serialize + DeserializeOwned>(&self, args: T) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 299 |     fn block_transaction<T: Serialize + DeserializeOwned>(&self, txn: T) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_clients` is never used
[INFO] [stdout]    --> src/p2p.rs:313:4
[INFO] [stdout]     |
[INFO] [stdout] 313 | fn get_clients() -> Vec<RPCClient> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.64s
[INFO] running `Command { std: "docker" "inspect" "83731a9161c28577e63765b6eaa5ca8d7d5a6969598abca0fe9e6f0392dd3ff1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83731a9161c28577e63765b6eaa5ca8d7d5a6969598abca0fe9e6f0392dd3ff1", kill_on_drop: false }`
[INFO] [stdout] 83731a9161c28577e63765b6eaa5ca8d7d5a6969598abca0fe9e6f0392dd3ff1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 490d6445df3a392553d5a7b3f5c28f09adfff5fc15ed72b08328bd930e17bea4
[INFO] running `Command { std: "docker" "start" "-a" "490d6445df3a392553d5a7b3f5c28f09adfff5fc15ed72b08328bd930e17bea4", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]    --> src/p2p.rs:203:13
[INFO] [stderr]     |
[INFO] [stderr] 203 |         let addr: IpAddr = address_split[0].parse().unwrap();
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `port`
[INFO] [stderr]    --> src/p2p.rs:206:13
[INFO] [stderr]     |
[INFO] [stderr] 206 |         let port: u16 = address_split[1].parse::<u16>().unwrap();
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Account` is never constructed
[INFO] [stderr]  --> src/modules/account.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct Account {
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `default` is never used
[INFO] [stderr]   --> src/modules/blockchain.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl Block {
[INFO] [stderr]    | ---------- associated function in this implementation
[INFO] [stderr] 14 |     pub fn default() -> Block {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `HasHashField` is never used
[INFO] [stderr]  --> src/modules/generics.rs:4:11
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub trait HasHashField {
[INFO] [stderr]   |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `default` is never used
[INFO] [stderr]   --> src/modules/transactions.rs:26:12
[INFO] [stderr]    |
[INFO] [stderr] 25 | impl Transaction {
[INFO] [stderr]    | ---------------- associated function in this implementation
[INFO] [stderr] 26 |     pub fn default() -> Transaction {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ACCOUNTDB` is never used
[INFO] [stderr]   --> src/database.rs:19:7
[INFO] [stderr]    |
[INFO] [stderr] 19 | const ACCOUNTDB: &str = "accounts.json";
[INFO] [stderr]    |       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `hash_insert` is never used
[INFO] [stderr]    --> src/database.rs:102:8
[INFO] [stderr]     |
[INFO] [stderr]  22 | pub trait BaseDB {
[INFO] [stderr]     |           ------ method in this trait
[INFO] [stderr] ...
[INFO] [stderr] 102 |     fn hash_insert<T>(&self, item: T) -> io::Result<()>
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AccountDB` is never constructed
[INFO] [stderr]    --> src/database.rs:138:12
[INFO] [stderr]     |
[INFO] [stderr] 138 | pub struct AccountDB {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `find` and `insert` are never used
[INFO] [stderr]    --> src/database.rs:180:8
[INFO] [stderr]     |
[INFO] [stderr] 170 | impl BlockchainDB {
[INFO] [stderr]     | ----------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 180 |     fn find(&self, hash: String) -> Block {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 197 |     fn insert(&self, item: Block) -> io::Result<()> {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `find_one` are never used
[INFO] [stderr]    --> src/database.rs:206:12
[INFO] [stderr]     |
[INFO] [stderr] 204 | impl AccountDB {
[INFO] [stderr]     | -------------- associated items in this implementation
[INFO] [stderr] 205 |     // create an instance of the Account database
[INFO] [stderr] 206 |     pub fn new() -> AccountDB {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 215 |     fn find_one(&self) -> Option<Account> {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `find` and `insert` are never used
[INFO] [stderr]    --> src/database.rs:234:8
[INFO] [stderr]     |
[INFO] [stderr] 224 | impl TransactionDB {
[INFO] [stderr]     | ------------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 234 |     fn find(&self, hash: String) -> Transaction {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 253 |     pub fn insert(&self, txn: Transaction) -> io::Result<()> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `all_hashes` is never used
[INFO] [stderr]    --> src/database.rs:278:8
[INFO] [stderr]     |
[INFO] [stderr] 268 | impl UnTransactionDB {
[INFO] [stderr]     | -------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 278 |     fn all_hashes(&self) -> Vec<String> {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `node` is never read
[INFO] [stderr]   --> src/p2p.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub struct RPCClient {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] 27 |     // server address
[INFO] [stderr] 28 |     node: String,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BroadCast` is never constructed
[INFO] [stderr]   --> src/p2p.rs:33:8
[INFO] [stderr]    |
[INFO] [stderr] 33 | struct BroadCast {}
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated functions are never used
[INFO] [stderr]    --> src/p2p.rs:36:12
[INFO] [stderr]     |
[INFO] [stderr]  35 | impl BroadCast {
[INFO] [stderr]     | -------------- associated functions in this implementation
[INFO] [stderr]  36 |     pub fn ping(args: Vec<String>) {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr]  50 |     fn get_blockchain(args: Vec<String>) -> Result<Vec<Vec<Block>>, Error> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  66 |     fn new_block(block: Block) {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  80 |     fn add_node(address: String) {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  94 |     pub fn get_transactions(args: Vec<String>) -> Result<Vec<Vec<Transaction>>, Error> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 108 |     fn new_untransaction<T: Copy + Serialize + DeserializeOwned>(args: T) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 122 |     fn block_transaction<T: Copy + Serialize + DeserializeOwned>(txn: T) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `new_untransaction` and `block_transaction` are never used
[INFO] [stderr]    --> src/p2p.rs:180:8
[INFO] [stderr]     |
[INFO] [stderr] 136 | impl RPCServer {
[INFO] [stderr]     | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 180 |     fn new_untransaction<T: Serialize + DeserializeOwned>(&self, untxns: T) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 186 |     fn block_transaction<T: Serialize + DeserializeOwned>(&self, txns: T) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `ping`, `get_blockchain`, `new_block`, `add_node`, `new_untransaction`, and `block_transaction` are never used
[INFO] [stderr]    --> src/p2p.rs:216:12
[INFO] [stderr]     |
[INFO] [stderr] 194 | impl RPCClient {
[INFO] [stderr]     | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 216 |     pub fn ping(&self, args: Vec<String>) -> Result<bool, Error> {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 231 |     fn get_blockchain(&self, args: Vec<String>) -> Result<Vec<Block>, Error> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 244 |     fn new_block(&self, block: Block) -> Result<(), Error> {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 259 |     pub fn add_node(&self, address: String) -> Result<(), Error> {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 286 |     fn new_untransaction<T: Serialize + DeserializeOwned>(&self, args: T) -> Result<(), Error> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 299 |     fn block_transaction<T: Serialize + DeserializeOwned>(&self, txn: T) -> Result<(), Error> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_clients` is never used
[INFO] [stderr]    --> src/p2p.rs:313:4
[INFO] [stderr]     |
[INFO] [stderr] 313 | fn get_clients() -> Vec<RPCClient> {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `bitcoin-rs` (bin "bitcoin-rs" test) generated 19 warnings (run `cargo fix --bin "bitcoin-rs" -p bitcoin-rs --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bitcoin_rs-8a501ca95765cb86)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "490d6445df3a392553d5a7b3f5c28f09adfff5fc15ed72b08328bd930e17bea4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "490d6445df3a392553d5a7b3f5c28f09adfff5fc15ed72b08328bd930e17bea4", kill_on_drop: false }`
[INFO] [stdout] 490d6445df3a392553d5a7b3f5c28f09adfff5fc15ed72b08328bd930e17bea4
